{extend name="layout/layout" /} {block name="title"}BFB集团{/block} {block
name="container"}

<!-- BANNER START -->

<div class="banner">
  <div class="slider-carousel owl-carousel">
    <?php foreach($banners as $v): ?>
    <div
      class="single-slide"
    >
      <img src="<?php echo $v['image']; ?>" alt="" style="width: 100%;height: auto;">
      <!-- <div class="container">
        <div class="slide-caption">
          <h1>
            <?php echo $v['name']; ?>
          </h1>
          <p>
            <?php echo $v['description']; ?>
          </p>
        </div>
      </div> -->
    </div>
    <?php endForeach; ?>
  </div>
</div>

<!-- Slider section end -->

<!-- APPOINTMENT START -->

<section
  class="appointment-section"
  style="
    background-image: url('/template/assets/img/bg_up.jpg');
  "
>
  <div class="container">
    <div class="row">
      <div class="col-12">
        <div class="appointment-title text-center">
          <h2>
            <strong>{:__('bfb_origin')}</strong>
          </h2>
          <p>
            {:__('bfb_body')}
          </p>
          <div class="section-btn">
            <a href="/about/profile" class="apointment-btn btn btn-secondary"
              >{:__('group_profile')}</a
            >
          </div>
        </div>
      </div>
    </div>
  </div>
</section>

<!-- NEWS SECTION START -->
<?php if($news): ?>
<section
  class="news-section"
  style="
    background-image: url('/template/assets/img/bg_down.jpg');
  "
>
  <div class="container">
    <div class="col-12">
      <div class="section-title text-center mb-3">
        <h2>
          <strong>{:__('news')}</strong>
        </h2>
      </div>
    </div>
    <div class="row">
      <?php foreach($news as $v): ?>
      <div class="col-lg-4 col-md-6 col-sm-6">
        <div class="item-block-05">
          <div class="item-bg">
            <img src="<?php echo $v['image']; ?>" alt="1" />
            <!-- <span>
              <?php echo $v['createtime']; ?>
            </span> -->
          </div>
          <div class="item-content text-left">
            <h6 class="news-item-title">
              <a href="#">
                <?php echo $v['title']; ?>
              </a>
            </h6>
            <p class="news-item-desc">
              <?php echo $v['description']; ?>
            </p>
            <div class="item-btn">
              <a
                href="/news/corporate/<?php echo $v['id']; ?>"
                class="btn btn-secondary text-uppercase"
                >{:__('more_information')}</a
              >
            </div>
          </div>
        </div>
      </div>
      <?php endForeach; ?>
    </div>
  </div>
</section>
<?php endIf; ?>
{/block}
<!-- NEWS SECTION END -->
